﻿@model XSTDZ.ERP.Application.DataContracts.ProductCheckBillDto

@{
    ViewBag.Title = " - 查看盘点信息";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
     <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />
}
<div class="wp100">

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
      <table class="formtable">
    <thead>
        <tr>
            <th colspan="4">@* <h2>新增入库单</h2>*@
            <div id="toptoolbar"></div>
            </th>
        </tr>
    </thead>
    
     <tr>
       
        <td class="title"> @Html.LabelFor(model => model.CheckNo)</td>
        <td> @Html.TextBoxFor(model => model.CheckNo, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.CheckNo)
         <input type="hidden" value="@ViewBag.TempId" id="hidbillDetailId" name="hidbillDetailId" />
          @Html.HiddenFor(model => model.Id)
           @Html.HiddenFor(model => model.BillState)
        </td>

        <td class="title">@Html.LabelFor(model => model.StorehouseID)</td>
        <td>  @Html.TextBoxFor(model => model.StorehouseName, new { @class = "text disablebg", @readonly = "readonly" })
          @Html.HiddenFor(model => model.StorehouseID)
            @Html.ValidationMessageFor(model => model.StorehouseID)
         </td>
  </tr>
     <tr>
       
        <td class="title"> @Html.LabelFor(model => model.CheckorID)</td>
        <td>@* @Html.TextBoxFor(model => model.CheckorID, new { @class = "text disablebg", @readonly = "readonly" })*@
         @Html.TextBoxFor(model => model.CheckorName, new { @class = "text disablebg", @readonly = "readonly" })
          @Html.HiddenFor(model => model.CheckorID)
        @Html.ValidationMessageFor(model => model.CheckorID)
        </td>

        <td class="title"></td>
        <td>  
         </td>
  </tr>
     <tr>
        <td class="title">@Html.LabelFor(model => model.StartTime)</td>
        <td>  @Html.TextBoxFor(model => model.StartTime, new { @class = "text disablebg", @readonly = "readonly" })
         <input type="hidden" value="@Model.StartTime" id="StartTimeVal" name="StartTimeVal" />
            @Html.ValidationMessageFor(model => model.StartTime)
         </td>

           <td class="title"> @Html.LabelFor(model => model.EndTime)</td>
        <td> @Html.TextBoxFor(model => model.EndTime, new { @class = "text disablebg", @readonly = "readonly" })
      <input type="hidden" value="@Model.EndTime" id="EndTimeVal" name="EndTimeVal" />
        @Html.ValidationMessageFor(model => model.EndTime)
        </td>
  </tr>
     <tr>
       
        <td class="title"> @Html.LabelFor(model => model.Remarks)</td>
        <td> @Html.TextBoxFor(model => model.Remarks, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.Remarks)
        </td>

        <td class="title"></td>
        <td> 
             <input type="hidden" value="" name="hidProductBillItems" id="hidProductBillItems" />
         </td>
  </tr>
   
    </table>

}

</div>
<div class="wp100">
<div id="ProductCheckBillItemsGrid" style="margin-top:20px" ></div>
</div>

<script type="text/javascript" src="@Url.Content("~/Content/js/ProductCheckBill/Detail.js")"></script>
<script type="text/javascript" src="@Url.Content("~/Content/js/formBase.js")"></script>